<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pytils</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th bgcolor="#70b0f0" class="navbar-select"
          >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        Package&nbsp;pytils
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<h1 class="epydoc">Source Code for <a href="pytils-module.html">Package pytils</a></h1>
<pre class="py-src">
<a name="L1"></a><tt class="py-lineno"> 1</tt>  <tt class="py-line"><tt class="py-comment"># -*- coding: utf-8 -*-</tt> </tt>
<a name="L2"></a><tt class="py-lineno"> 2</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># PyTils - simple processing for russian strings</tt> </tt>
<a name="L3"></a><tt class="py-lineno"> 3</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># Copyright (C) 2006-2007  Yury Yurevich</tt> </tt>
<a name="L4"></a><tt class="py-lineno"> 4</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L5"></a><tt class="py-lineno"> 5</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># http://gorod-omsk.ru/blog/pythy/projects/pytils/</tt> </tt>
<a name="L6"></a><tt class="py-lineno"> 6</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L7"></a><tt class="py-lineno"> 7</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># This program is free software; you can redistribute it and/or</tt> </tt>
<a name="L8"></a><tt class="py-lineno"> 8</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># modify it under the terms of the GNU General Public License</tt> </tt>
<a name="L9"></a><tt class="py-lineno"> 9</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># as published by the Free Software Foundation, version 2</tt> </tt>
<a name="L10"></a><tt class="py-lineno">10</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># of the License.</tt> </tt>
<a name="L11"></a><tt class="py-lineno">11</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment">#</tt> </tt>
<a name="L12"></a><tt class="py-lineno">12</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># This program is distributed in the hope that it will be useful,</tt> </tt>
<a name="L13"></a><tt class="py-lineno">13</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># but WITHOUT ANY WARRANTY; without even the implied warranty of</tt> </tt>
<a name="L14"></a><tt class="py-lineno">14</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</tt> </tt>
<a name="L15"></a><tt class="py-lineno">15</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># GNU General Public License for more details.</tt> </tt>
<a name="L16"></a><tt class="py-lineno">16</tt>  <tt class="py-line"><tt class="py-comment"></tt> </tt>
<a name="L17"></a><tt class="py-lineno">17</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L18"></a><tt class="py-lineno">18</tt>  <tt class="py-line"><tt class="py-docstring">Simple processing for russian strings</tt> </tt>
<a name="L19"></a><tt class="py-lineno">19</tt>  <tt class="py-line"><tt class="py-docstring">"""</tt> </tt>
<a name="L20"></a><tt class="py-lineno">20</tt>  <tt class="py-line"> </tt>
<a name="L21"></a><tt class="py-lineno">21</tt>  <tt class="py-line"><tt id="link-0" class="py-name" targets="Variable pytils.__id__=pytils-module.html#__id__,Variable pytils.dt.__id__=pytils.dt-module.html#__id__,Variable pytils.numeral.__id__=pytils.numeral-module.html#__id__,Variable pytils.templatetags.__id__=pytils.templatetags-module.html#__id__,Variable pytils.templatetags.pytils_dt.__id__=pytils.templatetags.pytils_dt-module.html#__id__,Variable pytils.templatetags.pytils_numeral.__id__=pytils.templatetags.pytils_numeral-module.html#__id__,Variable pytils.templatetags.pytils_translit.__id__=pytils.templatetags.pytils_translit-module.html#__id__,Variable pytils.test.__id__=pytils.test-module.html#__id__,Variable pytils.test.templatetags.__id__=pytils.test.templatetags-module.html#__id__,Variable pytils.test.templatetags.helpers.__id__=pytils.test.templatetags.helpers-module.html#__id__,Variable pytils.test.templatetags.test_dt.__id__=pytils.test.templatetags.test_dt-module.html#__id__,Variable pytils.test.templatetags.test_numeral.__id__=pytils.test.templatetags.test_numeral-module.html#__id__,Variable pytils.test.templatetags.test_translit.__id__=pytils.test.templatetags.test_translit-module.html#__id__,Variable pytils.test.test_dt.__id__=pytils.test.test_dt-module.html#__id__,Variable pytils.test.test_numeral.__id__=pytils.test.test_numeral-module.html#__id__,Variable pytils.test.test_translit.__id__=pytils.test.test_translit-module.html#__id__,Variable pytils.test.test_utils.__id__=pytils.test.test_utils-module.html#__id__,Variable pytils.translit.__id__=pytils.translit-module.html#__id__,Variable pytils.utils.__id__=pytils.utils-module.html#__id__"><a title="pytils.__id__
pytils.dt.__id__
pytils.numeral.__id__
pytils.templatetags.__id__
pytils.templatetags.pytils_dt.__id__
pytils.templatetags.pytils_numeral.__id__
pytils.templatetags.pytils_translit.__id__
pytils.test.__id__
pytils.test.templatetags.__id__
pytils.test.templatetags.helpers.__id__
pytils.test.templatetags.test_dt.__id__
pytils.test.templatetags.test_numeral.__id__
pytils.test.templatetags.test_translit.__id__
pytils.test.test_dt.__id__
pytils.test.test_numeral.__id__
pytils.test.test_translit.__id__
pytils.test.test_utils.__id__
pytils.translit.__id__
pytils.utils.__id__" class="py-name" href="#" onclick="return doclink('link-0', '__id__', 'link-0');">__id__</a></tt> <tt class="py-op">=</tt> <tt id="link-1" class="py-name" targets="Variable pytils.__revision__=pytils-module.html#__revision__,Variable pytils.dt.__revision__=pytils.dt-module.html#__revision__,Variable pytils.numeral.__revision__=pytils.numeral-module.html#__revision__,Variable pytils.templatetags.__revision__=pytils.templatetags-module.html#__revision__,Variable pytils.templatetags.pytils_dt.__revision__=pytils.templatetags.pytils_dt-module.html#__revision__,Variable pytils.templatetags.pytils_numeral.__revision__=pytils.templatetags.pytils_numeral-module.html#__revision__,Variable pytils.templatetags.pytils_translit.__revision__=pytils.templatetags.pytils_translit-module.html#__revision__,Variable pytils.test.__revision__=pytils.test-module.html#__revision__,Variable pytils.test.templatetags.__revision__=pytils.test.templatetags-module.html#__revision__,Variable pytils.test.templatetags.helpers.__revision__=pytils.test.templatetags.helpers-module.html#__revision__,Variable pytils.test.templatetags.test_dt.__revision__=pytils.test.templatetags.test_dt-module.html#__revision__,Variable pytils.test.templatetags.test_numeral.__revision__=pytils.test.templatetags.test_numeral-module.html#__revision__,Variable pytils.test.templatetags.test_translit.__revision__=pytils.test.templatetags.test_translit-module.html#__revision__,Variable pytils.test.test_dt.__revision__=pytils.test.test_dt-module.html#__revision__,Variable pytils.test.test_numeral.__revision__=pytils.test.test_numeral-module.html#__revision__,Variable pytils.test.test_translit.__revision__=pytils.test.test_translit-module.html#__revision__,Variable pytils.test.test_utils.__revision__=pytils.test.test_utils-module.html#__revision__,Variable pytils.translit.__revision__=pytils.translit-module.html#__revision__,Variable pytils.utils.__revision__=pytils.utils-module.html#__revision__"><a title="pytils.__revision__
pytils.dt.__revision__
pytils.numeral.__revision__
pytils.templatetags.__revision__
pytils.templatetags.pytils_dt.__revision__
pytils.templatetags.pytils_numeral.__revision__
pytils.templatetags.pytils_translit.__revision__
pytils.test.__revision__
pytils.test.templatetags.__revision__
pytils.test.templatetags.helpers.__revision__
pytils.test.templatetags.test_dt.__revision__
pytils.test.templatetags.test_numeral.__revision__
pytils.test.templatetags.test_translit.__revision__
pytils.test.test_dt.__revision__
pytils.test.test_numeral.__revision__
pytils.test.test_translit.__revision__
pytils.test.test_utils.__revision__
pytils.translit.__revision__
pytils.utils.__revision__" class="py-name" href="#" onclick="return doclink('link-1', '__revision__', 'link-1');">__revision__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"$Id: __init__.py 74 2007-02-27 15:11:35Z the.pythy $"</tt> </tt>
<a name="L22"></a><tt class="py-lineno">22</tt>  <tt class="py-line"><tt id="link-2" class="py-name" targets="Variable pytils.__url__=pytils-module.html#__url__,Variable pytils.dt.__url__=pytils.dt-module.html#__url__,Variable pytils.numeral.__url__=pytils.numeral-module.html#__url__,Variable pytils.templatetags.__url__=pytils.templatetags-module.html#__url__,Variable pytils.templatetags.pytils_dt.__url__=pytils.templatetags.pytils_dt-module.html#__url__,Variable pytils.templatetags.pytils_numeral.__url__=pytils.templatetags.pytils_numeral-module.html#__url__,Variable pytils.templatetags.pytils_translit.__url__=pytils.templatetags.pytils_translit-module.html#__url__,Variable pytils.test.__url__=pytils.test-module.html#__url__,Variable pytils.test.templatetags.__url__=pytils.test.templatetags-module.html#__url__,Variable pytils.test.templatetags.helpers.__url__=pytils.test.templatetags.helpers-module.html#__url__,Variable pytils.test.templatetags.test_dt.__url__=pytils.test.templatetags.test_dt-module.html#__url__,Variable pytils.test.templatetags.test_numeral.__url__=pytils.test.templatetags.test_numeral-module.html#__url__,Variable pytils.test.templatetags.test_translit.__url__=pytils.test.templatetags.test_translit-module.html#__url__,Variable pytils.test.test_dt.__url__=pytils.test.test_dt-module.html#__url__,Variable pytils.test.test_numeral.__url__=pytils.test.test_numeral-module.html#__url__,Variable pytils.test.test_translit.__url__=pytils.test.test_translit-module.html#__url__,Variable pytils.test.test_utils.__url__=pytils.test.test_utils-module.html#__url__,Variable pytils.translit.__url__=pytils.translit-module.html#__url__,Variable pytils.utils.__url__=pytils.utils-module.html#__url__"><a title="pytils.__url__
pytils.dt.__url__
pytils.numeral.__url__
pytils.templatetags.__url__
pytils.templatetags.pytils_dt.__url__
pytils.templatetags.pytils_numeral.__url__
pytils.templatetags.pytils_translit.__url__
pytils.test.__url__
pytils.test.templatetags.__url__
pytils.test.templatetags.helpers.__url__
pytils.test.templatetags.test_dt.__url__
pytils.test.templatetags.test_numeral.__url__
pytils.test.templatetags.test_translit.__url__
pytils.test.test_dt.__url__
pytils.test.test_numeral.__url__
pytils.test.test_translit.__url__
pytils.test.test_utils.__url__
pytils.translit.__url__
pytils.utils.__url__" class="py-name" href="#" onclick="return doclink('link-2', '__url__', 'link-2');">__url__</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"$URL: https://pythy.googlecode.com/svn/trunk/pytils/pytils/__init__.py $"</tt> </tt>
<a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line"><tt class="py-name">__all__</tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt class="py-string">"numeral"</tt><tt class="py-op">,</tt> <tt class="py-string">"dt"</tt><tt class="py-op">,</tt> <tt class="py-string">"translit"</tt><tt class="py-op">,</tt> <tt class="py-string">"test"</tt><tt class="py-op">,</tt> <tt class="py-string">"utils"</tt><tt class="py-op">]</tt> </tt>
<a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line"> </tt>
<a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line"><tt class="py-comment"># &#1074;&#1077;&#1088;&#1089;&#1080;&#1103; PyTils</tt> </tt>
<a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt id="link-3" class="py-name" targets="Variable pytils.VERSION_MAJOR=pytils-module.html#VERSION_MAJOR"><a title="pytils.VERSION_MAJOR" class="py-name" href="#" onclick="return doclink('link-3', 'VERSION_MAJOR', 'link-3');">VERSION_MAJOR</a></tt> <tt class="py-op">=</tt> <tt class="py-number">0</tt>  <tt class="py-comment">#: Major version of PyTils (i.e. branch)</tt> </tt>
<a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line"><tt id="link-4" class="py-name" targets="Variable pytils.VERSION_MINOR=pytils-module.html#VERSION_MINOR"><a title="pytils.VERSION_MINOR" class="py-name" href="#" onclick="return doclink('link-4', 'VERSION_MINOR', 'link-4');">VERSION_MINOR</a></tt> <tt class="py-op">=</tt> <tt class="py-number">2</tt>  <tt class="py-comment">#: Minor version of PyTils (i.e. release)</tt> </tt>
<a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line"><tt id="link-5" class="py-name" targets="Variable pytils.VERSION_TINY=pytils-module.html#VERSION_TINY"><a title="pytils.VERSION_TINY" class="py-name" href="#" onclick="return doclink('link-5', 'VERSION_TINY', 'link-5');">VERSION_TINY</a></tt> <tt class="py-op">=</tt> <tt class="py-number">1</tt>   <tt class="py-comment">#: Tiny version of PyTils (i.e. subrelease)</tt> </tt>
<a name="L29"></a><tt class="py-lineno">29</tt>  <tt class="py-line"> </tt>
<a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line"><tt id="link-6" class="py-name" targets="Variable pytils.VERSION=pytils-module.html#VERSION"><a title="pytils.VERSION" class="py-name" href="#" onclick="return doclink('link-6', 'VERSION', 'link-6');">VERSION</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"%d.%d.%d"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-7" class="py-name"><a title="pytils.VERSION_MAJOR" class="py-name" href="#" onclick="return doclink('link-7', 'VERSION_MAJOR', 'link-3');">VERSION_MAJOR</a></tt><tt class="py-op">,</tt> <tt id="link-8" class="py-name"><a title="pytils.VERSION_MINOR" class="py-name" href="#" onclick="return doclink('link-8', 'VERSION_MINOR', 'link-4');">VERSION_MINOR</a></tt><tt class="py-op">,</tt> <tt id="link-9" class="py-name"><a title="pytils.VERSION_TINY" class="py-name" href="#" onclick="return doclink('link-9', 'VERSION_TINY', 'link-5');">VERSION_TINY</a></tt><tt class="py-op">)</tt>  <tt class="py-comment">#: Version's string</tt> </tt>
<a name="L31"></a><tt class="py-lineno">31</tt>  <tt class="py-line"> </tt>
<a name="L32"></a><tt class="py-lineno">32</tt>  <tt class="py-line"><tt id="link-10" class="py-name" targets="Variable pytils.REL_DATE=pytils-module.html#REL_DATE"><a title="pytils.REL_DATE" class="py-name" href="#" onclick="return doclink('link-10', 'REL_DATE', 'link-10');">REL_DATE</a></tt> <tt class="py-op">=</tt> <tt class="py-string">'20070227'</tt>  <tt class="py-comment">#: Release date</tt> </tt>
<a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line"> </tt>
<a name="L34"></a><tt class="py-lineno">34</tt>  <tt class="py-line"> </tt>
<a name="_get_svn_date_from_id"></a><div id="_get_svn_date_from_id-def"><a name="L35"></a><tt class="py-lineno">35</tt> <a class="py-toggle" href="#" id="_get_svn_date_from_id-toggle" onclick="return toggle('_get_svn_date_from_id');">-</a><tt class="py-line"><tt class="py-keyword">def</tt> <a class="py-def-name" href="pytils-module.html#_get_svn_date_from_id">_get_svn_date_from_id</a><tt class="py-op">(</tt><tt class="py-param">id_string</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt>
</div><div id="_get_svn_date_from_id-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="_get_svn_date_from_id-expanded"><a name="L36"></a><tt class="py-lineno">36</tt>  <tt class="py-line">    <tt class="py-docstring">"""Returns date of last update (extract from __id__)"""</tt> </tt>
<a name="L37"></a><tt class="py-lineno">37</tt>  <tt class="py-line">    <tt class="py-keyword">if</tt> <tt class="py-name">id_string</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'$'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> <tt class="py-op">==</tt> <tt class="py-string">"Id"</tt><tt class="py-op">:</tt> </tt>
<a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt id="link-11" class="py-name"><a title="pytils.REL_DATE" class="py-name" href="#" onclick="return doclink('link-11', 'REL_DATE', 'link-10');">REL_DATE</a></tt> </tt>
<a name="L39"></a><tt class="py-lineno">39</tt>  <tt class="py-line">    <tt class="py-keyword">else</tt><tt class="py-op">:</tt> </tt>
<a name="L40"></a><tt class="py-lineno">40</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-name">id_string</tt><tt class="py-op">.</tt><tt class="py-name">split</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">[</tt><tt class="py-number">3</tt><tt class="py-op">]</tt><tt class="py-op">.</tt><tt class="py-name">replace</tt><tt class="py-op">(</tt><tt class="py-string">'-'</tt><tt class="py-op">,</tt> <tt class="py-string">''</tt><tt class="py-op">)</tt> </tt>
</div><a name="L41"></a><tt class="py-lineno">41</tt>  <tt class="py-line"> </tt>
<a name="L42"></a><tt class="py-lineno">42</tt>  <tt class="py-line"> </tt>
<a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line"><tt id="link-12" class="py-name" targets="Variable pytils._module_dates=pytils-module.html#_module_dates"><a title="pytils._module_dates" class="py-name" href="#" onclick="return doclink('link-12', '_module_dates', 'link-12');">_module_dates</a></tt> <tt class="py-op">=</tt> <tt class="py-op">[</tt><tt id="link-13" class="py-name" targets="Function pytils._get_svn_date_from_id()=pytils-module.html#_get_svn_date_from_id"><a title="pytils._get_svn_date_from_id" class="py-name" href="#" onclick="return doclink('link-13', '_get_svn_date_from_id', 'link-13');">_get_svn_date_from_id</a></tt><tt class="py-op">(</tt><tt id="link-14" class="py-name"><a title="pytils.__id__
pytils.dt.__id__
pytils.numeral.__id__
pytils.templatetags.__id__
pytils.templatetags.pytils_dt.__id__
pytils.templatetags.pytils_numeral.__id__
pytils.templatetags.pytils_translit.__id__
pytils.test.__id__
pytils.test.templatetags.__id__
pytils.test.templatetags.helpers.__id__
pytils.test.templatetags.test_dt.__id__
pytils.test.templatetags.test_numeral.__id__
pytils.test.templatetags.test_translit.__id__
pytils.test.test_dt.__id__
pytils.test.test_numeral.__id__
pytils.test.test_translit.__id__
pytils.test.test_utils.__id__
pytils.translit.__id__
pytils.utils.__id__" class="py-name" href="#" onclick="return doclink('link-14', '__id__', 'link-0');">__id__</a></tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-op">]</tt>  <tt class="py-comment">#: Last changes in submodules</tt> </tt>
<a name="L44"></a><tt class="py-lineno">44</tt>  <tt class="py-line"> </tt>
<a name="L45"></a><tt class="py-lineno">45</tt>  <tt class="py-line"><tt class="py-comment"># &#1080;&#1084;&#1087;&#1086;&#1088;&#1090; &#1084;&#1086;&#1076;&#1091;&#1083;&#1077;&#1081;</tt> </tt>
<a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">for</tt> <tt id="link-15" class="py-name" targets="Variable pytils._module_name=pytils-module.html#_module_name"><a title="pytils._module_name" class="py-name" href="#" onclick="return doclink('link-15', '_module_name', 'link-15');">_module_name</a></tt> <tt class="py-keyword">in</tt> <tt class="py-name">__all__</tt><tt class="py-op">:</tt> </tt>
<a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line">    <tt class="py-name">_imported_module</tt> <tt class="py-op">=</tt> <tt class="py-name">__import__</tt><tt class="py-op">(</tt><tt class="py-string">"pytils."</tt><tt class="py-op">+</tt><tt id="link-16" class="py-name"><a title="pytils._module_name" class="py-name" href="#" onclick="return doclink('link-16', '_module_name', 'link-15');">_module_name</a></tt><tt class="py-op">,</tt> </tt>
<a name="L48"></a><tt class="py-lineno">48</tt>  <tt class="py-line">                                   <tt class="py-name">globals</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L49"></a><tt class="py-lineno">49</tt>  <tt class="py-line">                                   <tt class="py-name">locals</tt><tt class="py-op">(</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> </tt>
<a name="L50"></a><tt class="py-lineno">50</tt>  <tt class="py-line">                                   <tt class="py-op">[</tt><tt class="py-string">"pytils"</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt>
<a name="L51"></a><tt class="py-lineno">51</tt>  <tt class="py-line">    <tt id="link-17" class="py-name"><a title="pytils._module_dates" class="py-name" href="#" onclick="return doclink('link-17', '_module_dates', 'link-12');">_module_dates</a></tt><tt class="py-op">.</tt><tt class="py-name">append</tt><tt class="py-op">(</tt><tt id="link-18" class="py-name"><a title="pytils._get_svn_date_from_id" class="py-name" href="#" onclick="return doclink('link-18', '_get_svn_date_from_id', 'link-13');">_get_svn_date_from_id</a></tt><tt class="py-op">(</tt><tt class="py-name">_imported_module</tt><tt class="py-op">.</tt><tt id="link-19" class="py-name"><a title="pytils.__id__
pytils.dt.__id__
pytils.numeral.__id__
pytils.templatetags.__id__
pytils.templatetags.pytils_dt.__id__
pytils.templatetags.pytils_numeral.__id__
pytils.templatetags.pytils_translit.__id__
pytils.test.__id__
pytils.test.templatetags.__id__
pytils.test.templatetags.helpers.__id__
pytils.test.templatetags.test_dt.__id__
pytils.test.templatetags.test_numeral.__id__
pytils.test.templatetags.test_translit.__id__
pytils.test.test_dt.__id__
pytils.test.test_numeral.__id__
pytils.test.test_translit.__id__
pytils.test.test_utils.__id__
pytils.translit.__id__
pytils.utils.__id__" class="py-name" href="#" onclick="return doclink('link-19', '__id__', 'link-0');">__id__</a></tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt>
<a name="L52"></a><tt class="py-lineno">52</tt>  <tt class="py-line"> </tt>
<a name="L53"></a><tt class="py-lineno">53</tt>  <tt class="py-line"><tt id="link-20" class="py-name" targets="Variable pytils.SVN_DATE=pytils-module.html#SVN_DATE"><a title="pytils.SVN_DATE" class="py-name" href="#" onclick="return doclink('link-20', 'SVN_DATE', 'link-20');">SVN_DATE</a></tt> <tt class="py-op">=</tt> <tt class="py-name">max</tt><tt class="py-op">(</tt><tt id="link-21" class="py-name"><a title="pytils._module_dates" class="py-name" href="#" onclick="return doclink('link-21', '_module_dates', 'link-12');">_module_dates</a></tt><tt class="py-op">)</tt>  <tt class="py-comment">#: Last change in submodules</tt> </tt>
<a name="L54"></a><tt class="py-lineno">54</tt>  <tt class="py-line"> </tt>
<a name="L55"></a><tt class="py-lineno">55</tt>  <tt class="py-line"><tt class="py-comment"># &#1077;&#1089;&#1083;&#1080; &#1074;&#1079;&#1103;&#1083;&#1080; &#1089; svn, &#1090;&#1086; &#1074;&#1077;&#1088;&#1089;&#1080;&#1103; &#1073;&#1091;&#1076;&#1077;&#1090;</tt> </tt>
<a name="L56"></a><tt class="py-lineno">56</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># X.Y.Z-svnYYYYMMDD, &#1075;&#1076;&#1077; X.Y.Z - &#1085;&#1086;&#1084;&#1077;&#1088; &#1086;&#1088;&#1080;&#1075;&#1080;&#1085;&#1072;&#1083;&#1100;&#1085;&#1086;&#1081; &#1074;&#1077;&#1088;&#1089;&#1080;&#1080;,</tt> </tt>
<a name="L57"></a><tt class="py-lineno">57</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># &#1072; YYYYMMDD - &#1076;&#1072;&#1090;&#1072; &#1087;&#1086;&#1089;&#1083;&#1077;&#1076;&#1085;&#1077;&#1075;&#1086; &#1080;&#1079;&#1084;&#1077;&#1085;&#1077;&#1085;&#1080;&#1103; &#1074; &#1084;&#1086;&#1076;&#1091;&#1083;&#1103;&#1093;</tt> </tt>
<a name="L58"></a><tt class="py-lineno">58</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># &#1077;&#1076;&#1080;&#1085;&#1089;&#1090;&#1074;&#1077;&#1085;&#1085;&#1072;&#1103; &#1089;&#1083;&#1086;&#1078;&#1085;&#1086;&#1089;&#1090;&#1100; &#1086;&#1089;&#1090;&#1072;&#1077;&#1090;&#1089;&#1103;, &#1077;&#1089;&#1083;&#1080; &#1074;&#1079;&#1103;&#1083;&#1080; &#1085;&#1077; &#1095;&#1077;&#1088;&#1077;&#1079; svn,</tt> </tt>
<a name="L59"></a><tt class="py-lineno">59</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># &#1072; &#1095;&#1077;&#1088;&#1077;&#1079; webdav, &#1074; &#1101;&#1090;&#1086;&#1084; &#1089;&#1083;&#1091;&#1095;&#1072;&#1077; Id &#1085;&#1077; &#1087;&#1088;&#1086;&#1089;&#1090;&#1072;&#1074;&#1083;&#1103;&#1077;&#1090;&#1089;&#1103; &#1080; &#1074;&#1077;&#1088;&#1089;&#1080;&#1103;</tt> </tt>
<a name="L60"></a><tt class="py-lineno">60</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># &#1073;&#1091;&#1076;&#1077;&#1090; &#1086;&#1088;&#1080;&#1075;&#1080;&#1085;&#1072;&#1083;&#1100;&#1085;&#1086;&#1081;. &#1069;&#1090;&#1086; &#1084;&#1086;&#1078;&#1085;&#1086; &#1086;&#1073;&#1086;&#1081;&#1090;&#1080;, &#1089;&#1082;&#1072;&#1078;&#1077;&#1084;, &#1091;&#1095;&#1080;&#1090;&#1099;&#1074;&#1072;&#1103; &#1076;&#1072;&#1090;&#1091;</tt> </tt>
<a name="L61"></a><tt class="py-lineno">61</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-comment"># &#1080;&#1079;&#1084;&#1077;&#1085;&#1077;&#1085;&#1080;&#1103; &#1092;&#1072;&#1081;&#1083;&#1086;&#1074;, &#1085;&#1086; &#1103; &#1087;&#1086;&#1082;&#1072; &#1085;&#1077; &#1074;&#1080;&#1078;&#1091; &#1074; &#1101;&#1090;&#1086;&#1084; &#1089;&#1084;&#1099;&#1089;&#1083;&#1072;.</tt> </tt>
<a name="L62"></a><tt class="py-lineno">62</tt>  <tt class="py-line"><tt class="py-comment"></tt><tt class="py-keyword">if</tt> <tt id="link-22" class="py-name"><a title="pytils.SVN_DATE" class="py-name" href="#" onclick="return doclink('link-22', 'SVN_DATE', 'link-20');">SVN_DATE</a></tt> <tt class="py-op">&gt;</tt> <tt id="link-23" class="py-name"><a title="pytils.REL_DATE" class="py-name" href="#" onclick="return doclink('link-23', 'REL_DATE', 'link-10');">REL_DATE</a></tt><tt class="py-op">:</tt> </tt>
<a name="L63"></a><tt class="py-lineno">63</tt>  <tt class="py-line">    <tt id="link-24" class="py-name"><a title="pytils.VERSION" class="py-name" href="#" onclick="return doclink('link-24', 'VERSION', 'link-6');">VERSION</a></tt> <tt class="py-op">=</tt> <tt class="py-string">"%s-svn%s"</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt id="link-25" class="py-name"><a title="pytils.VERSION" class="py-name" href="#" onclick="return doclink('link-25', 'VERSION', 'link-6');">VERSION</a></tt><tt class="py-op">,</tt> <tt id="link-26" class="py-name"><a title="pytils.SVN_DATE" class="py-name" href="#" onclick="return doclink('link-26', 'SVN_DATE', 'link-20');">SVN_DATE</a></tt><tt class="py-op">)</tt>  <tt class="py-comment">#: Version's string (with appended svndate)</tt> </tt>
<a name="L64"></a><tt class="py-lineno">64</tt>  <tt class="py-line"> </tt><script type="text/javascript">
<!--
expandto(location.href);
// -->
</script>
</pre>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th bgcolor="#70b0f0" class="navbar-select"
          >&nbsp;&nbsp;&nbsp;Home&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0beta1 on Tue Feb 27 09:42:55 2007
    </td>
    <td align="right" class="footer">
      <a href="http://epydoc.sourceforge.net">http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie()
  // -->
</script>
  
</body>
</html>
